function advm:skills/battery_lose
execute store result score @s advm_power_max run data get entity @s Inventory[-1].tag.max
#execute if score @s advm_power matches 1.. run tellraw @s [{"score":{"name": "@s","objective": "advm_power"}},{"text":"/","italic": false},{"score":{"name": "@s","objective": "advm_power_max"}},{"text":" ⚡","italic": false}]